package com.cr.sync.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * 远程数据-投诉反馈对象 tb_sync_reviews_complaint_advice
 * 
 * @author tang
 * @date 2025-08-29
 */
public class TbSyncReviewsComplaintAdvice implements Serializable {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 投诉标题 */
    private String title;

    /** 产品名称 */
    private String product;

    /** 主体名称 */
    private String bodyName;

    /** 反馈状态(0.已反馈1.未反馈) */
    private String feedbackStatus;

    /** 投诉类型(1.质量问题2.与描述不相符) */
    private String complainType;

    /** 投诉日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setProduct(String product) 
    {
        this.product = product;
    }

    public String getProduct() 
    {
        return product;
    }

    public void setBodyName(String bodyName) 
    {
        this.bodyName = bodyName;
    }

    public String getBodyName() 
    {
        return bodyName;
    }

    public void setFeedbackStatus(String feedbackStatus) 
    {
        this.feedbackStatus = feedbackStatus;
    }

    public String getFeedbackStatus() 
    {
        return feedbackStatus;
    }

    public void setComplainType(String complainType) 
    {
        this.complainType = complainType;
    }

    public String getComplainType() 
    {
        return complainType;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("product", getProduct())
            .append("bodyName", getBodyName())
            .append("feedbackStatus", getFeedbackStatus())
            .append("complainType", getComplainType())
            .append("createTime", getCreateTime())
            .toString();
    }
}
